package com.company.structural.proxy_pattern.client;

import com.company.structural.proxy_pattern.proxy.ProxySearcher;
import com.company.structural.proxy_pattern.subject.Searcher;

/**
 * @ClassName Client
 * @Author tiezheng.han
 * @Date 2020/9/1 18:37
 **/
public class Client {
    public static void main(String[] args) {
        Searcher searcher;
        searcher = new ProxySearcher();
        String result = searcher.doSearch("杨过","玉女心经");
        System.out.println(result);
    }
}
